container: Turn assert into return_if_fail()
authorBenjamin Otte <otte@redhat.com>
Thu, 21 Jan 2016 01:19:04 +0000 (02:19 +0100)
committerBenjamin Otte <otte@redhat.com>
Fri, 22 Jan 2016 13:17:28 +0000 (14:17 +0100)
commitd4f853dc649e84b70a8b0dedcc9def00719e872c
tree0a742170445e1e5cc59eea3bedae36aed7ebf4a8
parent6bb8da5564d8403882035d037d4938a266e85c97
container: Turn assert into return_if_fail()

There's no reason to insta-crash when something goes wrong. Just don't
do anything stupid.

Also, remove the SPCIAL_CONTAINER() exception. Every case where special
containers needed this, it is wrong and made containers draw children
multiple times.
gtk/gtkcontainer.c